package com.yuan.java继承复习;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 *  @author 雨安
 *  类名： Emp
 *  创建时间：2024/5/12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp extends ObjClass{
    private String empName;

    private String empIdNumber;

    private String address;

    private String phoneNumber;

    @Override
    public String toString() {
        return "Emp{" +
                "empName='" + empName + '\'' +
                ", empIdNumber='" + empIdNumber + '\'' +
                ", address='" + address + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", createTime='" + getCreateTime() + '\'' +
                ", updateTime='" + getUpdateTime() + '\'' +
                ", createBy='" + getCreateBy() + '\'' +
                ", updateBy='" + getUpdateBy() + '\'' +
                '}';
    }
}
